package cn.tedu.hospitalgroupproject.server.content.dao.persist.mapper;


import cn.tedu.hospitalgroupproject.server.content.pojo.entity.Clinic;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.ClinicListVO;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.ClinicStandardVO;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.DepartmentListVO;
import cn.tedu.hospitalgroupproject.server.content.pojo.vo.DoctorStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 处理诊所数据的Mapper接口
 *
 */
@Repository
public interface ClinicMapper extends BaseMapper<Clinic> {


    /*根据ID查找指定诊所*/
    ClinicStandardVO getStandardById(Long id);

    /*查询门诊列表*/
    List<ClinicListVO> listClinic();

    /*查询当前科室ID下的诊所*/
    List<ClinicStandardVO> selectClinicByDeptId(Long id);


}
